package com.qqtech.qquan.vote.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.vote.model.*;

@Repository
public class VoteResultDaoImpl extends BaseDaoImpl<VoteResult> implements VoteResultDao {
	public static final Logger log = LoggerFactory.getLogger(VoteResultDaoImpl.class);

	@Override
	public int getGroupByUserIdCount(VoteResult voteResult) {
		return sqlSessionTemplate.selectOne(getSqlName("selectCount_groupByUserId"), voteResult);
	}
	
}
